using System.Reflection;

namespace SKBKontur.LambdaExpressionParsing
{
    public class FilterElement
    {
        public FilterElement(PropertyInfo property, ConditionType condition, object value, object propertyParameter)
        {
            Property = property;
            Condition = condition;
            Value = value;
            PropertyParameter = propertyParameter;
        }

        public PropertyInfo Property { get; private set; }
        public ConditionType Condition { get; private set; }
        public object Value { get; private set; }
        public object PropertyParameter { get; private set; }
    }
}